import java.io.*;

public class testPrintWriter {

    public static void main(String[] args)throws IOException {
        File file = new File("D:\\JAVA\\Java_Practice\\复习用的\\one\\hello.txt");
        PrintWriter output = new PrintWriter(file);
        String str = "写点东西进来怎么就这么困难呢33333333";
        output.print(str);
        output.flush();
//        output.close();

    }



}
